import request from '@/utils/request'

export function getRoomIdByAppId(appId) {
	return request({
		url: '/sr/room/getRoomIdByAppId/' + appId,
		method: 'get'
	})
}
// 查询自习室详细
export function getRoomInfo(roomId) {
	return request({
		url: '/sr/room/' + roomId,
		method: 'get'
	})
}

// 查询广告banner详细
export function getRoomBanners(data) {
	return request({
		url: '/sr/room/getRoomBanners',
		method: 'post',
		data: data
	})
}

// 查询门店详情详细
export function getRoomDetail(roomId) {
	return request({
		url: '/sr/room/roomDetail/' + roomId,
		method: 'get'
	})
}


// 查询广告banner详细
export function getRoomPrices(data) {
	return request({
		url: '/sr/room/getRoomPrices',
		method: 'post',
		data: data
	})
}